import { parse } from "path";
import service from "../utils/request";

//列表
export function banner_list(payload = {}) {
    return service.get('/banner_list', { params: payload })
}
//删除单条数据
export function banner_delete(payload:any = {}){
    return service.delete('/banner_list/'+payload.id,payload)
}
//搜索
export function banner_search( payload:any = {} ){
    return service.get('/banner_list/'+payload.mingcheng, { params: payload});
}
//新增
export function banner_add( payload:any = {} ){
    return service.post('/banner_list', payload );
}